import request from "@/utils/request"

export function getAll() {
  return request({
    url: "/admin/label/all",
    method: "post"
  })
}

export function getShow() {
  return request({
    url: "/admin/label/show",
    method: "post"
  })
}

export function getMatch() {
  return request({
    url: "/admin/label/match",
    method: "post"
  })
}

export function getList(data) {
  return request({
    url: "/admin/label/list",
    method: "post",
    data
  })
}

export function create(data) {
  return request({
    url: "/admin/label/create",
    method: "post",
    data
  })
}

export function edit(data) {
  return request({
    url: "/admin/label/edit",
    method: "post",
    data
  })
}

export function del(data) {
  return request({
    url: "/admin/label/del",
    method: "post",
    data
  })
}

export function getDetail(data) {
  return request({
    url: "/admin/label/detail",
    method: "post",
    data
  })
}
